<script lang="tsx">
import { defineComponent, type PropType } from 'vue'
import markViewsMap from '../config/markViewsMap'

export default defineComponent({
  props: {
    type: {
      required: true,
      type: String as PropType<string>
    },
    viewType: {
      type: Number as PropType<number>
    }
  },
  setup(props) {
    return () => markViewsMap(props.type, props.viewType)
  }
})
</script>

<style scoped></style>
